package com.yjht.system.model;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 角色资源
 * </p>
 *
 * @author lengleng
 * @since 2018-01-29
 */
@TableName("t_role_resource")
@Data
public class RoleResource implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 主键id
	 */
	private Integer id;
	/**
	 * 角色id
	 */
	@TableField("role_id")
	private Integer roleId;
	/**
	 * 资源id
	 */
	@TableField("resource_id")
	private Integer resourceId;

}
